from django.urls import path
from rest_framework import routers
from scenic import views
from scenic.views import SceniclistView, ScenicSourceDetail


urlpatterns = [
    path('scenic/list/<int:city_id>', SceniclistView.as_view()),
    path('scenic/detail/<int:pk>', ScenicSourceDetail.as_view())
  ]


router = routers.DefaultRouter()

router.register('scenic/top', views.ScenicSourceTop)

urlpatterns += router.urls
